package com.example.jbservice.Service.Impl;

import com.example.jbservice.Dto.InvoiceDto;
import com.example.jbservice.Mapper.InvoiceMapper;
import com.example.jbservice.Service.InvoiceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class InvoiceServiceImpl implements InvoiceService {
	@Autowired
	private InvoiceMapper invoiceMapper;
	@Override
	public List<InvoiceDto> GetAllInvoice() {
		return invoiceMapper.GetAllInvoice();
	}
}
